package com.syyo.gulimall.seckill.feign;

import com.syyo.common.domain.ResultVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author wang
 * @date: 2021/5/20 18:00
 * @Description:
 */
@FeignClient("gulimall-product")
public interface ProductFeign {

    @GetMapping("/product/skuinfo/{id}")
    ResultVo getSkuInfo(@PathVariable("id") Long id);

}
